<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{historialClienteImp.page1}" id="page1">
            <ui:html binding="#{historialClienteImp.html1}" id="html1">
                <ui:head binding="#{historialClienteImp.head1}" id="head1">
                    <ui:link binding="#{historialClienteImp.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{historialClienteImp.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{historialClienteImp.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="encab1.jspf"/>
                        </div>
                        <ui:label binding="#{historialClienteImp.label1}" id="label1"
                            style="color: rgb(108, 164, 164); font-size: 14px; left: 216px; top: 120px; position: absolute" text="HISTORIAL DE SOLICITUDES DEL CLIENTE"/>
                        <ui:textField binding="#{historialClienteImp.nitTextField}" id="nitTextField" readOnly="true"
                            style="left: 168px; top: 175px; position: absolute; width: 132px" text="#{historialClienteImp.sct0012DataProvider.value['CDGOPRDCTO']}"/>
                        <ui:label binding="#{historialClienteImp.label2}" id="label2" style="left: 48px; top: 175px; position: absolute" text="Nit:"/>
                        <ui:label binding="#{historialClienteImp.label3}" id="label3" style="left: 47px; top: 198px; position: absolute" text="Nombre completo:"/>
                        <ui:textField binding="#{historialClienteImp.nombreTextField}" columns="14" id="nombreTextField" readOnly="true"
                            style="left: 167px; top: 199px; position: absolute; width: 251px" text="#{historialClienteImp.sct0012DataProvider.value['CDGOAGNCIA']}"/>
                        <ui:textField binding="#{historialClienteImp.apellidoTextField}" columns="14" id="apellidoTextField" readOnly="true"
                            style="left: 168px; top: 222px; position: absolute; width: 134px" text="#{historialClienteImp.sct0012DataProvider.value['CDGOUSRIOCRCION']}"/>
                        <ui:button action="#{historialClienteImp.rtegresarButton_action}" binding="#{historialClienteImp.rtegresarButton}" id="rtegresarButton"
                            mini="true" primary="true" style="left: 47px; top: 144px; position: absolute" text="Regresar"/>
                        <ui:button action="#{historialClienteImp.imprimirButton_action}" binding="#{historialClienteImp.imprimirButton}" id="imprimirButton"
                            mini="true" primary="true" style="left: 119px; top: 144px; position: absolute; width: 56px" text="Imprimir"/>
                        <ui:messageGroup binding="#{historialClienteImp.messageGroup1}" id="messageGroup1" style="left: 739px; top: 145px; position: absolute; width: 483px"/>
                        <ui:alert binding="#{historialClienteImp.alert1}" id="alert1" style="left: 480px; top: 168px; position: absolute"/>
                        <ui:label binding="#{historialClienteImp.label4}" id="label4" style="left: 47px; top: 222px; position: absolute" text="Deuda Vigente:"/>
                        <ui:panelGroup binding="#{historialClienteImp.groupPanel1}" id="groupPanel1" style="left: 45px; top: 266px; position: absolute">
                            <h:panelGrid binding="#{historialClienteImp.gridPanel2}" id="gridPanel2" style="">
                                <ui:table binding="#{historialClienteImp.table2}" id="table2" paginateButton="true" paginationControls="true"
                                    sortPanelToggleButton="true" style=" width: 890px" title="Solicitudes Aprobadas" width="784">
                                    <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table2");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table2");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table2");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table2");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table2");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table2");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                    <ui:tableRowGroup binding="#{historialClienteImp.tableRowGroup2}" emptyDataMsg="No hay solicitudes Aprobadas"
                                        id="tableRowGroup2" rows="10" sourceData="#{historialClienteImp.sct0022DataProvider}" sourceVar="currentRow">
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn4}" headerText="Fecha Solicitud"
                                            id="tableColumn4" sort="CDGODSPCHO" valign="top" width="145">
                                            <ui:staticText binding="#{historialClienteImp.staticText4}" id="staticText4" text="#{currentRow.value['CDGODSPCHO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn5}" headerText="Producto" id="tableColumn5"
                                            sort="CDGOESTDODCMNTCION" valign="middle">
                                            <ui:staticText binding="#{historialClienteImp.staticText5}" id="staticText5" text="#{currentRow.value['CDGOESTDODCMNTCION']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn6}" headerText="Sublinea" id="tableColumn6"
                                            sort="AMPRDAPR" valign="middle">
                                            <ui:staticText binding="#{historialClienteImp.staticText6}" id="staticText6" text="#{currentRow.value['AMPRDAPR']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn10}" headerText="Agencia" id="tableColumn10"
                                            sort="INDCDRPLSTCO" valign="middle" width="81">
                                            <ui:staticText binding="#{historialClienteImp.staticText10}" id="staticText10" text="#{currentRow.value['INDCDRPLSTCO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn11}" headerText="Solicitud" id="tableColumn11"
                                            sort="NITEMPRSAAGNTES" valign="middle">
                                            <ui:staticText binding="#{historialClienteImp.staticText11}" id="staticText11" text="#{currentRow.value['NITEMPRSAAGNTES']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn12}" headerText="Vlr. Solicitado"
                                            id="tableColumn12" sort="CDGOAGNTE" valign="middle">
                                            <ui:staticText binding="#{historialClienteImp.staticText12}" id="staticText12" text="#{currentRow.value['CDGOAGNTE']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn13}" headerText="Vlr. Aprobado"
                                            id="tableColumn13" sort="NMROSLCTUDTTLAR" valign="middle">
                                            <ui:staticText binding="#{historialClienteImp.staticText13}" id="staticText13" text="#{currentRow.value['NMROSLCTUDTTLAR']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn14}" headerText="Analista" id="tableColumn14"
                                            sort="OBSRVCNES" valign="middle" width="120">
                                            <ui:staticText binding="#{historialClienteImp.staticText14}" id="staticText14" text="#{currentRow.value['OBSRVCNES']}"/>
                                        </ui:tableColumn>
                                    </ui:tableRowGroup>
                                </ui:table>
                            </h:panelGrid>
                            <h:panelGrid binding="#{historialClienteImp.gridPanel1}" id="gridPanel1" style="">
                                <ui:table binding="#{historialClienteImp.table3}" id="table3" paginateButton="true" paginationControls="true"
                                    sortPanelToggleButton="true" style=" width: 890px" title="Solicitudes Rechazadas" width="800">
                                    <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table3");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table3");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table3");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table3");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table3");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table3");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table3:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table3:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                    <ui:tableRowGroup binding="#{historialClienteImp.tableRowGroup3}" emptyDataMsg="No hay solicitudes Rechazadas"
                                        id="tableRowGroup3" rows="10" sourceData="#{historialClienteImp.sct0021DataProvider1}" sourceVar="currentRow">
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn7}" headerText="Fecha Solicitud"
                                            id="tableColumn7" sort="CDDOR" valign="top" width="155">
                                            <ui:staticText binding="#{historialClienteImp.staticText7}" id="staticText7" text="#{currentRow.value['CDDOR']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn8}" headerText="Producto" id="tableColumn8" sort="TPO">
                                            <ui:staticText binding="#{historialClienteImp.staticText8}" id="staticText8" text="#{currentRow.value['TPO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn9}" headerText="Sublinea" id="tableColumn9" sort="MNTOMXMO">
                                            <ui:staticText binding="#{historialClienteImp.staticText9}" id="staticText9" text="#{currentRow.value['MNTOMXMO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn15}" headerText="Agencia" id="tableColumn15" sort="MNTOMNMO" width="119">
                                            <ui:staticText binding="#{historialClienteImp.staticText15}" id="staticText15" text="#{currentRow.value['MNTOMNMO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn16}" headerText="Solicitud" id="tableColumn16" sort="ESTDO">
                                            <ui:staticText binding="#{historialClienteImp.staticText16}" id="staticText16" text="#{currentRow.value['ESTDO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn17}" headerText="Vlr. Solicitud" id="tableColumn17" sort="PRMRAETPA">
                                            <ui:staticText binding="#{historialClienteImp.staticText17}" id="staticText17" text="#{currentRow.value['PRMRAETPA']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn18}" headerText="Causal" id="tableColumn18" sort="SGNDAETPA">
                                            <ui:staticText binding="#{historialClienteImp.staticText18}" id="staticText18" text="#{historialClienteImp.causaActual}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn19}" headerText="Analista" id="tableColumn19" sort="TRCRAETPA">
                                            <ui:staticText binding="#{historialClienteImp.staticText19}" id="staticText19" text="#{currentRow.value['TRCRAETPA']}"/>
                                        </ui:tableColumn>
                                    </ui:tableRowGroup>
                                </ui:table>
                            </h:panelGrid>
                            <h:panelGrid binding="#{historialClienteImp.gridPanel4}" id="gridPanel4" style="">
                                <ui:table binding="#{historialClienteImp.table1}" id="table1" paginateButton="true" paginationControls="true"
                                    sortPanelToggleButton="true" style="width: 800px" title="Solicitudes en Proceso" width="800">
                                    <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                    <ui:tableRowGroup binding="#{historialClienteImp.tableRowGroup1}" emptyDataMsg="No hay solicitudes en  Proceso"
                                        id="tableRowGroup1" rows="10" sourceData="#{historialClienteImp.sct0023DataProvider}" sourceVar="currentRow">
                                        <ui:tableColumn align="center" binding="#{historialClienteImp.tableColumn1}" headerText="Fecha Solicitud"
                                            id="tableColumn1" sort="CDGOESTDOSLCTUD_2" valign="top" width="168">
                                            <ui:staticText binding="#{historialClienteImp.staticText1}" id="staticText1" text="#{currentRow.value['CDGOESTDOSLCTUD_2']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn2}" headerText="Producto" id="tableColumn2" sort="ESTDO" width="88">
                                            <ui:staticText binding="#{historialClienteImp.staticText2}" id="staticText2" text="#{currentRow.value['ESTDO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn3}" headerText="Sublinea" id="tableColumn3" sort="CDGOUSRIOULTMAMDFCCION">
                                            <ui:staticText binding="#{historialClienteImp.staticText3}" id="staticText3" text="#{currentRow.value['CDGOUSRIOULTMAMDFCCION']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn20}" headerText="Agencia" id="tableColumn20" sort="FCHAULTMAMDFCCION">
                                            <ui:staticText binding="#{historialClienteImp.staticText20}" id="staticText20" text="#{currentRow.value['FCHAULTMAMDFCCION']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn21}" headerText="Solicitud" id="tableColumn21" sort="CDGOUSRIOCRCION">
                                            <ui:staticText binding="#{historialClienteImp.staticText21}" id="staticText21" text="#{currentRow.value['CDGOUSRIOCRCION']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn22}" headerText="Vlr. Solicitud" id="tableColumn22" sort="FCHACRCIONRGSTRO">
                                            <ui:staticText binding="#{historialClienteImp.staticText22}" id="staticText22" text="#{currentRow.value['FCHACRCIONRGSTRO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn23}" headerText="Etapa Actual" id="tableColumn23" sort="PRMERESTDO">
                                            <ui:staticText binding="#{historialClienteImp.staticText23}" id="staticText23" text="#{currentRow.value['PRMERESTDO']}"/>
                                        </ui:tableColumn>
                                        <ui:tableColumn binding="#{historialClienteImp.tableColumn24}" headerText="Responsable Etapa" id="tableColumn24" sort="DSCRPCIONESTDOSLCTUD">
                                            <ui:staticText binding="#{historialClienteImp.staticText24}" id="staticText24" text="#{currentRow.value['DSCRPCIONESTDOSLCTUD']}"/>
                                        </ui:tableColumn>
                                    </ui:tableRowGroup>
                                </ui:table>
                            </h:panelGrid>
                        </ui:panelGroup>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
